package dao;

import java.util.HashSet;
import java.util.Set;

/**
 * Produce entity. @author MyEclipse Persistence Tools
 */

public class Produce implements java.io.Serializable {

	// Fields

	private Integer produceId;
	private String produceName;
	private String produceAddress;
	private String producePhone;
	private Set goodsDetails = new HashSet(0);

	// Constructors

	/** default constructor */
	public Produce() {
	}

	/** minimal constructor */
	public Produce(Integer produceId, String produceName,
			String produceAddress, String producePhone) {
		this.produceId = produceId;
		this.produceName = produceName;
		this.produceAddress = produceAddress;
		this.producePhone = producePhone;
	}

	/** full constructor */
	public Produce(Integer produceId, String produceName,
			String produceAddress, String producePhone, Set goodsDetails) {
		this.produceId = produceId;
		this.produceName = produceName;
		this.produceAddress = produceAddress;
		this.producePhone = producePhone;
		this.goodsDetails = goodsDetails;
	}

	// Property accessors

	public Integer getProduceId() {
		return this.produceId;
	}

	public void setProduceId(Integer produceId) {
		this.produceId = produceId;
	}

	public String getProduceName() {
		return this.produceName;
	}

	public void setProduceName(String produceName) {
		this.produceName = produceName;
	}

	public String getProduceAddress() {
		return this.produceAddress;
	}

	public void setProduceAddress(String produceAddress) {
		this.produceAddress = produceAddress;
	}

	public String getProducePhone() {
		return this.producePhone;
	}

	public void setProducePhone(String producePhone) {
		this.producePhone = producePhone;
	}

	public Set getGoodsDetails() {
		return this.goodsDetails;
	}

	public void setGoodsDetails(Set goodsDetails) {
		this.goodsDetails = goodsDetails;
	}

}